package main

import "fmt"

type Vertex struct {
	X int
	Y int
}

var (
	v1 = Vertex{4, 5}
	v2 = Vertex{X: 6}
	v3 = Vertex{}
	vp = &Vertex{8, 9}
)

func main() {
	v := Vertex{X: 1, Y: 2}
	p := &v
	p.X = 1e9
	fmt.Println(v)

	fmt.Println(v1, v2, v3, vp)

	tex := new(Vertex)
	fmt.Println(*tex)

}
